export function _a(fn, t) {
    let last, timer,
        now = new Date();
    return (_this) => {
        if (last && now - last < t) {
            clearTimeout(timer)
            timer = setTimeout(fn, t)
        } else {
            last = now
            fn()
        }
    }
}